package c.c.k.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.util.Date;

/**
 * Created by chenck on 2022/3/19.
 */
@Entity
@Data
@Table(name = "my_stock")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Stock {
    @Id
    private Long id;//股票代码
    private String code;//股票代码
    private String jys;
    private String name;//股票名称
    private Double shiZhi;//最新的是市值
    private Double maxPrice;//最高股价
    private Double minPrice;//最低股价
    private Double prePrice;//前一日价格
    private Double nowPrice;//最新收盘价

    private Date nowPriceDate;//最新收盘价日期

}
